<!--
@author		Yi Bo <etng2004@gmail.com>
@version	$Id: index_developerNews.php 14 2007-08-24 07:35:20Z etng2004 $
@copyrithg	2006-2007 ETE.CN
@license 	PHP Version 3.0 {@link http://www.php.net/license/3_0.txt}
-->
<?php
//$this->dump($this->feed);
$channel = $this->feed;
?>
<div id="newsSummary">
<h1>
<a href="<?php echo $channel['link']; ?>"><?php echo $channel['title']; ?>(<?php echo $channel['count']; ?>)</a>
</h1>
<div class="description">
<?php echo $channel['description']; ?>
</div>
</div>
<div id="newsList">
<?php
foreach ($this->feed['items'] as $item):
?>
<h3>
<a href="<?php echo $item['link']; ?>"><?php echo $item['title']; ?>(<?php echo date('Y-m-d', $item['pubdate']); ?>)</a><?php echo $item['author']; ?>
</h3>
<div class="description">
<?php echo $item['description']; ?>
</div>
<div class="tags">Tags:
<?php echo implode(",", $item['category']) ?>
</div>
<div class="comment"><a href="<?php echo $item['comments']; ?>">点击这里发布评论</a> <a href="<?php echo $item['comment_rss']; ?>">订阅评论</a></div>
<?php
endforeach;
?>
</div>